package com.isky.visual.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author wudl
 * @since 2020-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_t")
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="User", description="用户信息")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "登陆账号")
    private String username;

    @ApiModelProperty(value = "登陆密码加密保存")
    private String password;

    @ApiModelProperty(value = "用户工号")
    private String userCode;

    @ApiModelProperty(value = "1启用|2禁用（创建时选择）")
    private Integer status;

    @ApiModelProperty(value = "1域用户|2部门用户")
    private Integer type;

    @ApiModelProperty(value = "用户姓名")
    private String name;

    @ApiModelProperty(value = "身份证号")
    private String identityCard;

    @ApiModelProperty(value = "职务")
    private String business;

    @ApiModelProperty(value = "联系电话")
    private String linkTel;

    @ApiModelProperty(value = "移动电话")
    private String moveTel;

    @ApiModelProperty(value = "电子邮箱")
    private String email;

    @ApiModelProperty(value = "传真电话")
    private String faxTel;

    @ApiModelProperty(value = "QQ账号")
    private String qq;

    @ApiModelProperty(value = "MSN账号")
    private String msn;

    @ApiModelProperty(value = "邮政编码")
    private String mailCode;

    @ApiModelProperty(value = "个人主页")
    private String personalPage;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "1创建|0删除（默认1）")
    private Integer isDelete;

    private LocalDateTime createdDate;

    @ApiModelProperty(value = "创建人ID")
    private Integer createdBy;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime lastUpdatedDate;

    @ApiModelProperty(value = "修改人ID")
    private Integer lastUpdatedBy;


}
